﻿using LJX.SmartPark.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Domain.IotInfo.SmartLamp
{
    //状态日志表
    [Table("StatusLogs")]
    public class StatusLogs:KeyEntity
    {
        public int DeviceId { get; set; }//设备Id
        [MaxLength(30)]
        public string EquipmentNum { get; set; }//设备编号
        [MaxLength(30)]
        public string Relays { get; set; }//继电器
        public bool LightStatus { get; set; }//灯状态
        public bool Online { get; set; }//在线
        public int Signal { get; set; }//信号
        public decimal DeviceTemperature { get; set; }//设备温度
        public decimal Humidity { get; set; }//湿度
        public int SortId { get; set; }//排序Id
        public DateTime CreateTime { get; set; }//创建时间
    }
}
